cmake_minimum_required(VERSION 3.4.1)

set(SRC_DIR "${CMAKE_CURRENT_SOURCE_DIR}")

project(jtarPlugin)

file(GLOB_RECURSE CLIENT_HEADER_FILES ${SRC_DIR}/*.h ${SRC_DIR}/*.hpp)
file(GLOB_RECURSE CLIENT_SOURCE_FILES ${SRC_DIR}/*.cpp)

add_library(jtar SHARED ${CLIENT_HEADER_FILES} ${CLIENT_SOURCE_FILES})

target_link_libraries(jtar PUBLIC libace_napi.z.so libc++.a libhilog_ndk.z.so)
